package com.bobo.rbac.service;

import com.bobo.rbac.domain.Menu;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author bobo
* @description 针对表【menu】的数据库操作Service
* @createDate 2022-07-27 14:42:55
*/
public interface MenuService extends IService<Menu> {

    List<Menu> getTreeMenuByUsername(String username);

    List<Menu> listByPid(Integer pid);
}
